package xiangmu.schoolpaper.service.impl.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xiangmu.schoolpaper.mapper.system.AddTemplateTypeMapper;
import xiangmu.schoolpaper.service.system.AddTemplateTypeService;

@Service
public class AddTemplateTypeServiceImpl implements AddTemplateTypeService {

    @Autowired
    private AddTemplateTypeMapper addTemplateTypeMapper;

    @Override
    public int addTemplateType(String templateTypeName) {
        return addTemplateTypeMapper.insertDictTemplateType(templateTypeName);
    }
}